/*
 * @Description: 订单管理api
 * @Author: money
 * @Date: 2021-06-24 17:03:34
 * @LastEditors: money
 * @LastEditTime: 2021-06-26 14:39:56
 */
import { get, post } from '@/utils/request'
// 分页查询订单相关信息
export function pageQuery(data){
    return get('/order/pageQuery',data);
}
// 派单
export  function sendOrder(data){
    return get('/order/sendOrder',data);
}
// 取消派单
export function cancelSendOrder(data){
    return get('/order/cancelSendOrder',data);
}
// 接单
export function takeOrder(data){
    return get('/order/takeOrder',data);
}
// 拒绝接单
export function rejectOrder(data){
    return get('/order/rejectOrder',data);
}
// 提交订单
export function submitOrder(data){
    return post('/order/submitOrder',data);
}
// 订单详情查询
export function findById(data){
    return get('/order/findById',data);
}